package com.buaa.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.buaa.dao.InstrumentAttDao;
import com.buaa.domain.InstrumentAtt;
import com.buaa.utils.HibernateUtil;

@Repository
public class InstrumentAttDaoImpl implements InstrumentAttDao{

	@Autowired
	private HibernateUtil hibernateUtil;
	
	@Override
	public InstrumentAtt getSingleInstrument(Integer id) {
		return (InstrumentAtt) hibernateUtil.get(InstrumentAtt.class,id);
	}

}
